<template>
    <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="date" label="Date" width="180" />
        <el-table-column prop="name" label="Name" width="180" />
        <el-table-column prop="address" label="Address" />
        <el-table-column label="操作">
            <template #default="scope">
                <RouterLink :to="`/home/please/dalite?id=${scope.row.id}&&type=出差申请`">🗐详情</RouterLink>
                <!-- <el-button @click="handleEdit(scope.row)" type="text">🗐详情</el-button> -->
                <el-button type="text" @click="handleDelete(scope.row.id)">🗑︎删除</el-button>
            </template>
        </el-table-column>
    </el-table>
</template>

<script lang="ts" setup>
let { objOne, tableData} = defineProps(['obj','tableData'])

const handleDelete=(id:Number)=>{

}
</script>